Jitter buffer

ABSTRACT

Method, transmitter and computer program product for transmitting data of a real-time communication event from the transmitter to a jitter buffer of a receiver. Jitter buffer state information is received at the transmitter from the receiver, the jitter buffer state information indicating a state of the jitter buffer. At least one processing parameter is controlled based on the received jitter buffer state information, the at least one processing parameter describing how data is to be processed for transmission from the transmitter to the jitter buffer in the real-time communication event. Data is processed for transmission from the transmitter to the jitter buffer in accordance with the determined at least one processing parameter. The processed data is transmitted from the transmitter to the jitter buffer of the receiver in the real-time communication event.

RELATED APPLICATION

This application claims priority under 35 USC 119 or 365 to Great Britain Application No. 1118408.2 filed 25 Oct. 2011, the disclosure of which is incorporate in its entirety.

BACKGROUND

In a real-time communication event, such as an audio or video call, a transmitter may transmit data to a receiver over a communication channel. A communication channel may exist in one (or more) of many different possible networks. For example, a communication channel may exist in the Internet or in a wireless network such as a mobile telecommunications network. The data (which may be transmitted in the form of data packets) may, detrimentally, be delayed or corrupted as it is transmitted over the communication channel. There are various techniques which may be employed to cope with the delay or corruption of the data as it is transmitted over the communication channel. As an example, a jitter buffer may be used at a receiver in order to smooth out the effects of variations in the delay of transmission of data in a real-time communication event. This increases the possibility of achieving continuous playback of the data at the receiver despite random variations in packet propagation delay (known as jitter). The jitter buffer is placed at the receiver and is used to accumulate a few data packets before starting playback at the receiver, thus introducing an extra delay (jitter buffer delay) into the communication event that helps to accommodate the data packet propagation delay jitter. The jitter buffer may adapt its delay during the communication event according to variations in the packet propagation delay. The jitter buffer may also sort data packets sent from the transmitter which arrive at the receiver out of order, such that the data packets can be played back at the receiver in the correct order. The jitter buffer may also discard data packets which are late, i.e. which arrive at the jitter buffer after the time at which they were scheduled to be played out from the jitter buffer at the receiver in the real-time communication event. The state of the jitter buffer describes the current conditions of the jitter buffer and may include, for example, the jitter buffer delay, jitter buffer size and/or an indication of the available space in the jitter buffer. The jitter buffer delay can be expressed in terms of an amount of time, e.g., a number of seconds (or more commonly, milliseconds) or in terms of a number of frames of content, e.g., of audio or video data. The jitter buffer size and the available space in the jitter buffer can be expressed in terms of the amount of data, such as a number of bits, bytes, or packets.

The jitter buffer delay can be controlled according to a number of trade-offs including:

1. A trade-off between the jitter buffer delay and the number of late data packets (i.e. the number of data packets arriving at the jitter buffer after the time at which they were scheduled to be played out from the jitter buffer at the receiver in the real-time communication event). While higher jitter buffer delay reduces the amount of late packets, the resulting increase in the playback delay can adversely affect the interactivity of real-time communication. So the jitter buffer delay can be balanced against the number of late data packets. In this way, if conditions on the communication channel used for the communication event change such that the number of late data packets changes, the jitter buffer delay can be controlled to balance the change in the number of late data packets.

2. A trade-off between the adaptation of the jitter buffer delay and the amount of modification introduced into the received signal. Increasing or decreasing the jitter buffer delay means that a part of the signal has to be played out at the receiver slower or faster than intended, which can result in quality degradations. However, it can still be beneficial to adapt the jitter buffer delay when necessary, so the adaptation of the jitter buffer can be balanced against the amount of modification introduced into the received signal.

In this way the receiver can control the jitter buffer delay which is used in a communication event.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

The way in which data is processed for transmission to a jitter buffer in a real-time communication event and the state of the jitter buffer are interlinked. Various embodiments control processing parameters describing how data is to be processed for transmission from a transmitter to a jitter buffer of a receiver in a real-time communication event based on the state of the jitter buffer. Various embodiments enable control of the state of a jitter buffer based on the processing parameters which are used to process data for transmission from a transmitter to the jitter buffer in a real-time communication event. In some embodiments the processing parameters and the jitter buffer state may be determined jointly.

In one or more embodiments, there may be provided a method, transmitter or computer program product for transmitting data of a real-time communication event from the transmitter to a jitter buffer of a receiver. In at least some embodiments, the method may comprise jointly determining (i) at least one processing parameter describing how data is to be processed for transmission from the transmitter to the jitter buffer, and (ii) jitter buffer control information for indicating to the receiver how to control a state of the jitter buffer. The jitter buffer control information may be transmitted to the receiver. Data may be processed for transmission from the transmitter to the jitter buffer in accordance with the determined at least one processing parameter. The processed data may be transmitted from the transmitter to the jitter buffer of the receiver.

The processing parameter(s) may be controlled based on the state of the jitter buffer at the receiver. This allows the data to be processed in a manner which suits the state of the jitter buffer when the processed data is transmitted to the jitter buffer.

The at least one processing parameter may include any parameter which affects how the processed data is subsequently processed at the receiver in order to be played out at the receiver. For example, the at least one processing parameter may include at least one of: (i) an encoding bit rate with which the data is encoded during the processing of the data, (ii) a FEC depth, (iii) a packetization delay, and (iv) an interleaving delay.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the various embodiments and to show how the same may be put into effect, reference will now be made, by way of example, to the following drawings in which:

FIG. 1 shows a communication system in accordance with one or more embodiments;

FIG. 2 is a flow chart for a first process of transmitting data from a transmitter to a receiver in accordance with one or more embodiments;

FIG. 3 is a graph showing the number of bytes in a sequence of video frames in one example in accordance with one or more embodiments;

FIG. 4 a illustrates a first example of how a FEC data unit may be generated in accordance with one or more embodiments;

FIG. 4 b illustrates a second example of how a FEC data unit may be generated in accordance with one or more embodiments;

FIG. 4 c illustrates a third example of how a FEC data unit may be generated in accordance with one or more embodiments;

FIG. 5 is a representation of a data stream being transmitted in a communication system using FEC in accordance with one or more embodiments;

FIG. 6 is a representation of a packetized data stream being transmitted in a communication system in accordance with one or more embodiments;

FIG. 7 is a representation of an interleaved data stream being transmitted in a communication system in accordance with one or more embodiments;

FIG. 8 is a flow chart for a process of adjusting a jitter buffer state of the receiver; in accordance with one or more embodiments

FIG. 9 is a flow chart for a second process of transmitting data from a transmitter to a receiver in accordance with one or more embodiments; and

FIG. 10 is a flow chart for a third process of transmitting data from a transmitter to a receiver in accordance with one or more embodiments.

DETAILED DESCRIPTION

With reference to FIG. 1 there is now described a communication system 100 according to one or more embodiments. The communication system 100 comprises a transmitter 102 and a receiver 108. The transmitter 102 comprises a processor 104 for processing data and one or more computer-readable storage media, e.g., a memory 106 for storing data. The receiver 108 comprises a processor 110 for processing data, one or more computer-readable storage media, e.g., a memory 112 for storing data and a jitter buffer 114 for receiving data from the transmitter 102.

The computer-readable storage media may include volatile media (such as random access memory (RAM)) and/or nonvolatile media (such as read only memory (ROM), Flash memory, optical disks, magnetic disks, and so forth). The computer-readable storage media may include fixed media (e.g., RAM, ROM, a fixed hard drive, and so on) as well as removable media (e.g., Flash memory, a removable hard drive, an optical disc, and so forth). The computer-readable storage media may be configured in a variety of other ways.

“Computer-readable storage media” may refer to media and/or devices that enable persistent and/or non-transitory storage of information in contrast to mere signal transmission, carrier waves, or signals per se. Thus, computer-readable storage media refers to non-signal bearing media. The computer-readable storage media includes hardware such as volatile and non-volatile, removable and non-removable media and/or storage devices implemented in a method or technology suitable for storage of information such as computer readable instructions, data structures, program modules, logic elements/circuits, or other data. Examples of computer-readable storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, hard disks, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other storage device, tangible media, or article of manufacture suitable to store the desired information and which may be accessed by a computer.

“Computer-readable signal media” may refer to a signal-bearing medium that is configured to transmit instructions to the hardware of a computing device, such as via a network. Signal media typically may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier waves, data signals, or other transport mechanism. Signal media also include any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media.

Hardware elements and computer-readable media are representative of modules, programmable device logic and/or fixed device logic implemented in a hardware form that may be employed in some embodiments to implement at least some aspects of the techniques described herein, such as to perform one or more instructions. Hardware may include components of an integrated circuit or on-chip system, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), and other implementations in silicon or other hardware. In this context, hardware may operate as a processing device that performs program tasks defined by instructions and/or logic embodied by the hardware as well as a hardware utilized to store instructions for execution, e.g., the computer-readable storage media described previously.

Combinations of the foregoing may also be employed to implement various techniques described herein. Accordingly, software, hardware, or executable modules may be implemented as one or more instructions and/or logic embodied on some form of computer-readable storage media and/or by one or more hardware element. The computing device may be configured to implement particular instructions and/or functions corresponding to the software and/or hardware modules. Accordingly, implementation of a module that is executable by a computing device as software may be achieved at least partially in hardware, e.g., through use of computer-readable storage media and/or hardware elements of the processing system. The instructions and/or functions may be executable/operable by one or more articles of manufacture (for example, one or more computing devices and/or processing systems) to implement techniques, modules, and examples described herein.

In operation the transmitter 102 can process data (e.g. retrieved from the memory 106) to form a data stream comprising a plurality of data packets (e.g. using the processor 104). The data stream can then be transmitted over a communication channel through a network to the jitter buffer 114 of the receiver 108. As described above, the data is stored in the jitter buffer for a short time (that is, for the “jitter buffer delay”) before being output from the jitter buffer for processing at the receiver 108 (e.g. using the processor 110). The processing at the receiver 108 may involve depacketising and decoding the data from the data stream. The data may be stored in the memory 112 at the receiver 108, or output from the receiver 108, e.g. to a user. The data in the data stream may relate to a real-time communication event (such as a voice call or a video call) between a user of the transmitter 102 and a user of the receiver 108.

The network over which the data is transmitted from the transmitter 102 to the receiver 108 may be any suitable network which has the ability to provide a suitable communication channel. The network could be a Wide Area Network (WAN) or a Local Area Network (LAN). As examples, the network may be an intranet, the Internet or a telephony network such as a mobile telephone network. The transmitter 102 and receiver 108 may be implemented in any suitable apparatus or device for transmitting and receiving a data stream over the network respectively. For example, the transmitter 102 and receiver 108 may be implemented as user devices such as personal computers or telephones which have the ability to connect to the network.

The state of the jitter buffer 114 changes as data is received at the jitter buffer 114 from the transmitter 102 and as data is removed from the jitter buffer 114 for processing in the receiver 108. The state of the jitter buffer 114 may be described by parameters such as the delay or size of the jitter buffer 114 which describe the amount of data currently in the jitter buffer 114, in terms of a time (the jitter buffer delay) for which data will be stored in the jitter buffer 114 from being received from the transmitter 102 until being removed for processing in the receiver 108, or in terms of the number of frames of content of the data in the jitter buffer 114 or in terms of the amount of data, e.g. measured as a number of bits or a number of bytes of data present in the jitter buffer 114. The state of the jitter buffer 114 may also describe the available space in the jitter buffer 114, which can be determined as the maximum allowed size of the jitter buffer 114 minus the current size of the jitter buffer 114.

It can be seen that the state of the jitter buffer 114 affects how data is received at the receiver 108. Therefore, when the state of the jitter buffer 114 changes it may be advantageous to change the way in which data is processed for transmission to the receiver 108 in accordance with the current state of the jitter buffer 114. It can be beneficial to transmit the jitter buffer state (e.g., the current size or delay of the jitter buffer 114 and the available space in the jitter buffer 114) of the receiver 108 to the transmitter 102, wherein the operation of processing modules of the transmitter can be controlled based on the state of the jitter buffer 114.

With reference to FIG. 2 there is described a first method of transmitting data from the transmitter 102 to the jitter buffer 114 of the receiver 108. In step S202 the transmitter 102 receives jitter buffer state information from the jitter buffer 114 of the receiver 108 (as shown in FIG. 1). The jitter buffer state information indicates the current state of the jitter buffer 114, and may for example, indicate the current delay or size of the jitter buffer 114, and may also indicate the available space in the jitter buffer 114. The jitter buffer state information may indicate other attributes of the jitter buffer 114 which may be useful in determining how best to process data for transmission from the transmitter 102 to the jitter buffer 114 of the receiver 108.

In step S204 at least one processing parameter of the transmitter 102 is controlled based on the jitter buffer information received in step S202. The processing parameter(s) describes how data is to be processed for transmission from the transmitter 102 to the jitter buffer 114 of the receiver 108 in a real-time communication event. Examples of possible processing parameters which may be controlled in step S204 include an encoding bit rate, a FEC depth, a packetization delay and an interleaving delay. These examples are described in more detail below. As would be apparent to a person skilled in the art, other processing parameters for processing data for transmission from the transmitter 102 to the jitter buffer 114 of the receiver 108 may be controlled in a similar manner to the examples given herein.

In step S206 data is processed for transmission at the transmitter 102 in accordance with the processing parameter(s) determined in step S204. The data may be processed by a number of processing modules in the transmitter 102. For example, there may be an encoding module, a FEC module, a packetization module and an interleaving module. Each of the modules may operate in accordance with the processing parameter(s) determined in step S204. By processing the data in accordance with the processing parameter(s) determined in step S204 the data is processed in such a manner that is suitable for being received at the jitter buffer 114 according to the state of the jitter buffer 114.

In step S208 the processed data is transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108. The data is transmitted over a network and, detrimentally, there may be some variable delay or corruption to the data as it is transmitted. As described above, the use of the jitter buffer 114 at the receiver 108 helps to overcome the problems introduced by variable delay and corruption of the data as it is transmitted.

There is therefore described above a method of transmitting data in a real-time communication event from the transmitter 102 to the receiver 108 whereby the way in which data is processed at the transmitter 102 for transmission to the receiver 108 is controlled based on the state of the jitter buffer 114 that receives the data at the receiver 108.

The current jitter buffer state affects the performance of a number of processing modules used to process data for transmission to the jitter buffer 114 in a real-time communication event, as exemplified below.

1. Encoder Bit Rate

The transmitter 102 may comprise a processing module for encoding data for transmission to the receiver 108 in a real-time communication event. The processing module may be implemented at the transmitter 102 in hardware or in software (e.g. executed on the CPU 104). The data may be encoded using any suitable known encoding technique. Particular encoding techniques may be appropriate for different types of data. For example, where the data includes speech from a user of the transmitter 102 then the encoding technique may include a specific speech encoder for encoding the speech portions of the data. Other encoding techniques may also be used, e.g. to compress the data for transmission to the receiver 108. The data is processed using an encoding bit rate such that the encoded data has the particular encoding bit rate. A higher encoding rate typically results in a higher quality signal but requires more data to be transmitted over the communication channel to the receiver 108.

The transmitter 102 may adapt its encoding bit rate, based on the input signal that is to be transmitted and/or based on conditions of the communication channel on which the data is to be transmitted. For example, the input signal may be a video signal and the encoder may produce a sudden increase (peak) in the instantaneous bit rate, as shown in FIG. 3. FIG. 3 shows a graph representing the number of bytes of each frame of a video signal once it has been encoded at the transmitter 102. It can be seen that the encoding bit rate is not the same for each video frame, and in particular some of the video frames (e.g. frame number 0 and frame number 100) are encoded at a much higher bit rate than the other video frames. The variation in the bit rate of the frames of the video signal may occur because different encoding techniques are used to encode the different video frames. A similar situation may occur when the input signal is an audio signal. For example, when a portion of an audio or a video signal is encoded independently of previously encoded portions then the bit rate of the encoded video or audio frame is typically relatively high. This is in contrast to other ones of the video or audio frames which may be encoded using differential-coding techniques, and therefore the encoded bit rate of those other video or audio frames is typically relatively low. Another example of a sudden increase in the encoding bit rate is when a portion of an input signal is encoded dependently on previously encoded portions, but using a less bit-rate efficient differential-coding mode. In embodiments when the input signal is a video signal, refraining from differential coding for some of the video frames can be beneficial (even though the bit rate is increased), for example in the case of a sudden change in the input video signal (e.g. a scene change in the video signal), or when it is desired to stop an error propagation effect due to a packet loss.

A peak in the instantaneous bit rate of the encoded data results in larger data packets and/or in a larger number of data packets being transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108 in the real-time communication event. This increase in the amount of data is accommodated by the jitter buffer 114 at the receiver 108. If the maximum allowed jitter buffer size, e.g., expressed in number of bits/bytes or packets, is lower than the amount of data needed to be placed in the jitter buffer 114, then some data will be dropped. This may lead to a decrease in performance of the communication system 100 in the real-time communication event.

In another scenario, a peak in the instantaneous bit rate of the encoded data leads to a higher propagation delay of the resulting data packets. In this case, it is beneficial when the jitter buffer has enough earlier data to provide for playback while waiting for the new packets to arrive.

In accordance with the method shown in FIG. 2, an encoding module at the transmitter 102 may adapt its encoding bit rate in accordance to the current size of the jitter buffer 114 or in accordance to the currently available space in the jitter buffer 114 (that is, the maximum allowed size minus the current size). The encoding bit rate is a processing parameter which is controlled in step S204 in accordance with the state of the jitter buffer 114. If the available space in the jitter buffer 114 is small, then the encoding module of the transmitter 102 should refrain from suddenly increasing the bit rate of the data which is to be transmitted to the jitter buffer 114. On the other hand, a bottleneck in the transmission of data in the real-time communication event may be the communication channel between the transmitter 102 and the receiver 108 (rather than the available space at the jitter buffer 114). In this case, an increase in the bit rate of the data may cause an increase in the propagation delay of the resulting data packets as they are transmitted over the communication channel, whilst the jitter buffer 114 may have enough earlier data to provide for playback while waiting for the new packets to arrive (as indicated by the current size of the jitter buffer 114). In this situation, the encoder may still increase the bit rate (based on the indication of the current size of the jitter buffer 114) despite the higher propagation delay because the jitter buffer can continue to output earlier data that it has already received so there will be no delay in the output of data at the receiver 108 and the quality of the data can remain high according to the increased bit rate.

It can therefore be seen that the encoding bit rate used to encode data for transmission from the transmitter 102 to the jitter buffer 114 of the receiver 108 can be controlled in dependence upon the state of the jitter buffer 114 as indicated by the jitter buffer state information received at the transmitter 102 from the receiver 108 in step S202.

2. Forward Error Correction

The data in a data stream may be divided into data packets for transmission over a communication channel between the transmitter 102 and the receiver 108. In an ideal system, the communication channel is lossless such that every data packet transmitted from the transmitter 102 over the communication channel is received at the jitter buffer 114 of the receiver 108. However, in real physical systems, the communication channel may be lossy, meaning that some of the transmitted data packets will be lost on the communication channel and as such will not be received at the jitter buffer 114 of the receiver 108. This may be detrimental. Correction schemes can be used to help recover, at the receiver 108, at least some of the lost data packets.

As an example, forward error correction (FEC) is one correction scheme which can be used to combat packet loss in a communication channel. FEC produces redundant data (as FEC data units) in addition to the original data units and includes the FEC data units in the data stream which is transmitted over the communication channel. A FEC scheme that transmits original and redundant FEC data is called a systematic FEC scheme. A FEC scheme that does not transmit original data is called a non-systematic scheme. In the latter case, the total amount of data transmitted is still higher than the amount of original data, to provide redundancy. For simplicity, but without loss of generality, we talk about systematic FEC schemes herein. The redundant FEC data units may be placed in their own packets, separate to the data packets in the data stream. Alternatively, or additionally, the FEC data units may be appended (or “piggybacked”) to the original data packets in the data stream. For simplicity, but without loss of generality, we talk about separate original and FEC packets herein. When some of the original data packets are lost in the communication channel, the successfully arrived FEC data units and the successfully arrived data packets can be used to recover (at least some of) the lost data packets.

That is, FEC reduces the packet loss seen by a decoder of the receiver, compared to the actual packet loss in the communication channel. FIGS. 4 a, 4 b and 4 c illustrate three examples of how a FEC data unit may be generated. As illustrated in FIG. 4 a, a FEC data unit 404 may be generated as an exact copy of an original data packet 402 of the data stream. By including both the data packet 402 and the FEC data unit 404 in the data stream, the data in the data packet 402 is transmitted twice. Therefore if the data packet 402 is lost during transmission but the FEC data unit 404 is successfully received then the data in the data packet 402 can be successfully recovered at the receiver (using the FEC data unit 404). As illustrated in FIG. 4 b a module 408 may be used to generate a FEC data unit 410 which is a copy of an original data packet 406 encoded at a lower bit rate. If the data packet 406 is lost during transmission but the FEC data unit 410 is successfully received then the data in the data packet 406 can be at least partially recovered at the receiver based on the FEC data unit 410. It should be noted that if the data packets 402 and 406 have the same size (e.g. the same number of bits) then the FEC data unit 410 will have a smaller size (e.g. fewer bits) than the FEC data unit 404. Therefore, although the FEC data unit 404 may be more useful in recovering the data packet 402 than the FEC data unit 410 is in recovering the data packet 406, it may be beneficial to generate FEC data units as shown in FIG. 4 b since the FEC data unit 410 uses less of the available bit rate on the communication channel for the data stream than the FEC data unit 404 uses. As illustrated in FIG. 4 c a mixing module 418 may be used to generate a FEC data unit 420 from a plurality of the original data packets, e.g. data packets 412, 414 and 416. Finite field (Galois field) arithmetic may be used to combine original data packets. For example the mixing module 418 may determine the bit-by-bit result of an XOR function applied to the three data packets 412, 414 and 416 to generate the FEC data unit 420. In another approach, data packets 412, 414 and 416 are combined byte-by-byte using Galois field GF(2⁸) arithmetic to generate the FEC data unit 420. In this sense the FEC data unit 420 is the result of combining or mixing the original data packets 412, 414 and 416. If one of the data packets 412, 414 and 416 is lost during transmission but the other two data packets and the FEC data unit 420 are successfully received then the data in the lost data packet can be successfully recovered at the receiver (using the other two data packets and the FEC data unit 420).

It can therefore be seen that FEC data units may be generated in a number of different ways. Different FEC schemes describe different ways in which the FEC data units are to be generated. A FEC scheme may describe factors relating to the generation of the FEC data units, such as: the number of FEC data units that are generated; which data packets are used to generate the FEC data units; how the FEC data units are transmitted (e.g. as separate packets or by appending the FEC data units to the data packets); and where in the data stream the FEC data units are placed. The loss-recovery performance of a FEC scheme describes the ability of the FEC scheme to recover lost data packets at the receiver using the FEC data units.

Generally, increasing the number of FEC data units in the data stream improves the loss-recovery performance of a FEC scheme. However, increasing the number of FEC data units in the data stream comes at a cost of bit rate efficiency.

Loss-recovery performance of a FEC scheme largely depends on FEC overhead and FEC depth.

FEC overhead describes the amount of redundant data relative to the amount of original data (e.g., the number of FEC packets relative to the number of original packets). Higher overhead generally improves the loss-recovery performance of a FEC scheme. On the other hand, higher overhead comes at a cost of bit rate efficiency. If the coding bit rate of original data is kept unchanged, then increased redundancy leads to increased total bit rate. Alternatively, if the total bit rate is constrained, then increased redundancy comes at a price of reduced coding bit rate of original data.

FEC depth describes the displacement between the oldest and the newest of the data packets (including both of those data packets) that can be protected by (i.e. combined into) a FEC data unit. In other words, it describes the maximum number of original data packets that can be combined into a FEC data unit. Higher depth provides more possibilities of different combinations of data packets for the FEC data units, thus achieving higher flexibility of a FEC scheme, for example, to varying channel conditions. In one extreme example, where a FEC data unit is constrained to be a copy of one original data packet, higher depth provides a possibility for larger separation of the original data packet and its copy (the FEC data unit) in time. This is advantageous in bursty packet-loss conditions, since it minimizes the probability of both the original data packet and the copy (the FEC data unit) being lost in a burst on the communication channel.

The FEC depth is related to delay in the transmission. A FEC data unit combines previously-generated original data packets, and therefore there is no additional algorithmic delay at the transmitter 102 caused by using FEC. However, in order to reconstruct a lost data packet at the receiver 108, we assume a delay at the receiver 108, since the FEC data unit is generated and transmitted later than the data packets on which it is based. This can be seen in the timing diagram shown in FIG. 5. FIG. 5 shows a situation in which three of the data packets (502, 504 and 506) of the data stream are used to generate the FEC data unit 508. The FEC data unit cannot be generated until all three of the data packets 502, 504 and 506 have been generated. Therefore, the data packets 502 and 504 will be transmitted from the transmitter 102 before the FEC data unit 508 is generated at the transmitter 102. Therefore, the earliest that the FEC data unit 508 can be transmitted is straight after the data packet 506. This scenario is shown in FIG. 5. The transmission of the data packets and the FEC data unit takes some finite amount of time. FIG. 5 depicts the loss (510) of the data packet 502 during the transmission over the lossy communication channel through the network. However, the data packets 504 and 506 and the FEC data unit 508 are all successfully received at the receiver 108. The data packets 504 and 506 and the FEC data unit 508 can be used to recover the lost data packet 502 at the receiver 108. However, the lost data packet 502 cannot be recovered until all three of: the data packets 504 and 506 and FEC data unit 508 have been received at the jitter buffer 114 of the receiver 108. Therefore, as shown in FIG. 5, there is a delay required for FEC recovery of the data packet 502 between the time when the data packet 502 should have been received at the receiver 108 (if it had not been lost) and the time at which the data packet can be recovered using the FEC data unit 508. If the delay requirement for the data stream is not satisfied, the lost data packet 502 will be declared as not decodable at the receiver 108 prior to the arrival of the FEC data unit 508. This will most likely cause the performance of the FEC scheme to drop significantly.

However, this delay need not be necessarily introduced at the receiver 108 by FEC as an additional delay. For example, the required delay may already exist at the receiver 108. One possible cause of delay at the receiver 108 is the presence of the jitter buffer 114. As described above, the jitter buffer 114 introduces a delay into the data stream in order to mitigate random variations in packet arrival times (jitter). If the FEC data unit 508 is received before the time at which the data packet 502 was due to be output from the jitter buffer 114 (had it not been lost during transmission) then it may be possible to recover the data packet 502 without introducing any extra delay at the receiver 108 over and above the delay already introduced by the jitter buffer 114. The FEC depth should be chosen so as to keep the delay between a lost data packet and a FEC data unit which can be used to recover the lost data packet within the delay requirements at the receiver 108. Therefore, for real-time data transmission (e.g. video call or audio call) the FEC depth may be set to a relatively low number.

The FEC scheme at the transmitter 102 may choose the highest depth possible given the size of the jitter buffer 114, without further increasing (or minimally increasing) the delay at the receiver 108. When the size of the jitter buffer 114 increases, the FEC depth is increased correspondingly. When the jitter buffer size is to be reduced, the FEC depth is reduced correspondingly (or an additional delay is introduced at the receiver 108 to cope with FEC depth). In order to avoid a sudden FEC performance drop in the latter case, the size of the jitter buffer 114 should not be reduced before the FEC depth is reduced in response to the desired jitter buffer size decrease (or an additional delay should be introduced at the receiver to cope with FEC depth).

3. Packetization

The transmitter 102 may comprise a processing module for packetizing data into data packets for transmission to the receiver 108 in a real-time communication event. The processing module may be implemented at the transmitter 102 in hardware or in software (e.g. executed on the CPU 104). The protocol for dividing the data into data packets (e.g. the form of the headers of the data packets, and other such implementation details) may depend upon the nature of the communication channel on which the data is to be transmitted, e.g. the type of network through which the data packet is to be transmitted.

When coded data units are small, it may be advantageous to place them into one larger data packet for transmission instead of using separate small data packets. This reduces the associated packet header overhead. In other words, since fewer data packets are transmitted there are fewer packet headers and as such the amount of packet header data that is transmitted is reduced.

FIG. 6 shows an example in which six consecutive data units 602 ₁ to 602 ₆ of a data stream are to be transmitted from the transmitter 102 to the receiver 108. In the example shown in FIG. 6 the data units are transmitted in data packets, whereby three data units are transmitted in each data packet. That is, instead of transmitting six small packets each containing just one of the data units, only two larger packets are transmitted. For example two data packets 604 and 606 are transmitted from the transmitter 102 to the receiver 108 in the example shown in FIG. 6. The data packet 604 includes the first three data units (data units 1, 2 and 3) and the data packet 606 includes the next three data units (data units 4, 5 and 6).

While such packetization of the data units reduces the packet header overhead, it comes at a price of delay. We refer to this delay as packetization delay. For example, in the situation shown in FIG. 6 data unit 1 is not transmitted before data unit 3 is generated because data units 1, 2 and 3 are all transmitted together in data packet 604. This means that data unit 1 has a higher delay between being generated at the transmitter 102 and being received at the receiver 108 than the corresponding delay of data unit 3. The packetization delay is shown in FIG. 6 as the time interval between the time at which data unit 1 would have been received at the receiver 108 if each data unit was transmitted separately and the time at which data unit 1 is received in data packet 604.

However, if the receiver 108 can tolerate the packetization delay of data unit 1, for example if data unit 1 is not required for decoding and/or playback at the receiver 108 until the data packet 604 is received at the receiver 108, then the packetization delay does not become an additional delay/cost in the transmission of the data units. This can be the case due to jitter buffer delay at the receiver 108. For example, the jitter buffer 114 may have enough earlier data (preceding data unit 1 in the data stream) to provide for continuous decoding and/or playback before the data packet 604 arrives. Therefore the state of the jitter buffer 114, in particular the current jitter buffer delay will affect the amount of packetization delay that can be tolerated.

The jitter buffer state information received at the transmitter 102 from the receiver 108 in step S202 is used by a packetization scheme implemented at the transmitter 102 to control the packetization delay of the transmitted data. For example, the packetization delay may be controlled such that it is maximized given the jitter buffer delay of the jitter buffer 114, without further increasing (or minimally increasing) the total delay of the data units of the transmitted data stream. Therefore the packetization delay may be controlled such that it corresponds to the delay of the jitter buffer 114. This means that the packetization delay may be controlled to equal (or approximately equal) the delay of the jitter buffer 114.

4. Interleaving

The transmitter 102 may comprise a processing module for interleaving data units for transmission to the receiver 108 in a real-time communication event. The processing module may be implemented at the transmitter 102 in hardware or in software (e.g. executed on the CPU 104). The protocol for interleaving the data units may depend upon the nature of the communication channel on which the data is to be transmitted, e.g. the type of network through which the interleaved data units are to be transmitted.

Interleaving is used to arrange data units in non-sequential way in order to distribute and minimize the effect of packet loss during transmission. Interleaving reduces the probability that consecutive data units do not arrive at the receiver 108 due to a packet loss or a packet-loss burst during the transmission of the data stream. Losing non-consecutive data units typically leads to less degradation in the quality of the data stream compared to losing consecutive data units. In addition, interleaving increases the probability that neighbouring data units are available for concealment of a lost data unit, which thereby typically leads to higher concealment quality of lost units. Interleaving can be used both when forming data packets and when transmitting data packets.

In one example, interleaving is used when transmitting data packets. FIG. 7 shows six consecutive data units where each unit is placed into a separate data packet (702 ₁ to 702 ₆) for transmission from the transmitter 102 to the receiver 108. In other embodiments as described above more than one of the data units may be grouped into each data packet for transmission according to a packetization scheme at the transmitter 102. When no interleaving is applied, the data packets 702 are transmitted in the order {1, 2, 3, 4, 5, 6}, that is in consecutive order. In this case, a loss burst (a loss of consecutive data packets) during transmission leads to a loss of consecutive data units of the data stream, which can be particularly detrimental to the quality of the received data at the receiver 108.

However, when interleaving is applied then the order of transmission of the data packets is not in consecutive order of the data units. For example, FIG. 7 shows the data packets being transmitted in the order {1, 3, 5, 2, 4, 6}. In this case, a loss burst (a loss of consecutive data packets) during transmission may lead to a loss of non-consecutive data units of the data stream, which may not be so detrimental to the quality of the received data at the receiver 108. For example, neighbouring data units in the data stream may be correctly received at the receiver which can be used for concealment of a lost data unit.

While interleaving reduces the impact of data packet loss during transmission, it comes at a price of delay. Refraining from sequential transmission of data units means that earlier data units will be transmitted only after later data units in the data stream are generated and transmitted. In the example above, data unit 2 is transmitted only after data units 3 and 5 are generated and transmitted. Therefore, data unit 2 will not be available at the receiver 108 immediately after data unit 1. In order to facilitate continuous playback of the data stream at the receiver 108, data unit 1 can be played slower until data unit 2 is received, or data unit 1 can be played at normal speed but with a delayed start, or using a combination thereof. In all cases, interleaving requires a delay in playback at the receiver 108, which is referred to as an “interleaving delay”. The interleaving delay is shown in FIG. 7 as the time interval between the time at which data unit 2 would have been received at the receiver 108 if the data units were transmitted consecutively and the time at which data unit 2 is received due to the interleaving of the data packets.

However, the delay need not be necessarily introduced at the receiver 108 due to interleaving alone. As described above, the delay might already exist at the receiver due to the jitter buffer 114. If the receiver 108 can tolerate the interleaving delay of data unit 2, for example if data unit 2 is not required for decoding and/or playback at the receiver 108 until the data unit 2 is received at the receiver 108, then the interleaving delay does not become an additional delay/cost in the transmission of the data units. This can be the case due to jitter buffer delay at the receiver 108. For example, the jitter buffer 114 may have enough earlier data (preceding data unit 2 in the data stream) to provide for continuous decoding and/or playback before the data unit 2 arrives at the receiver 108. Therefore the state of the jitter buffer 114, in particular the current jitter buffer delay will affect the amount of interleaving delay that can be tolerated.

The jitter buffer state information received at the transmitter 102 from the receiver 108 in step S202 is used by an interleaving scheme implemented at the transmitter 102 to control the interleaving delay of the transmitted data. For example, the interleaving delay may be controlled such that it is maximized given the jitter buffer delay of the jitter buffer 114, without further increasing (or minimally increasing) the total delay of the data units of the transmitted data stream. Therefore the interleaving delay may be controlled such that it corresponds to the delay of the jitter buffer 114. This means that the interleaving delay may be controlled to equal (or approximately equal) the delay of the jitter buffer 114.

In another example, interleaving is used when forming data packets for transmission from the transmitter 102 to the receiver 108. A number of coded data units are placed into each data packet. Let us consider six consecutive data units 1, 2, 3, 4, 5, 6, and the case where three of the data units are packetized into a first data packet and the other three of the data units are packetized into a second data packet. If no interleaving is applied then the first data packet would include the first three data units {1, 2, 3} and the second data packet would include the next three data units {4, 5, 6}. In this case, a loss of a data packet during transmission leads to a loss of consecutive data units of the data stream, which can be particularly detrimental to the quality of the received data at the receiver 108.

However, when interleaving is implemented the first data packet may include the data units {1, 3, 5} and the second data packet may include the data units {2, 4, 6}. In this case, a loss of a data packet during transmission leads to a loss of non-consecutive data units of the data stream, which may not be so detrimental to the quality of the received data at the receiver 108. For example, neighbouring data units in the data stream may be correctly received at the receiver which can be used for concealment of a lost data unit.

In this example, the transmitter 102 introduces a delay that is a combination of the packetization and the interleaving delays. However, as described above, this combined delay may not be an additional delay, if it already exists at the receiver due to the delay of the jitter buffer 114. Therefore the interleaving delay and the packetization delay may be controlled together such that the combined delay (packetization delay+interleaving delay) corresponds to the delay of the jitter buffer 114 as indicated in the jitter buffer state information received at the transmitter 102 in step S202.

There are therefore described above methods for controlling the operation of processing modules of the transmitter 102 based on the state of the jitter buffer 114 of the receiver 108. The processing parameters may be jointly controlled. In this way, processing parameters which describe how the data is to be processed for transmission to the receiver 108 are controlled based on the state of the jitter buffer 114 such that the way in which the data is processed is optimized to suit the state of the jitter buffer 114.

In the embodiments described above the state of the jitter buffer 114 is a current state of the jitter buffer 114. In alternative embodiments the state of the jitter buffer which is indicated to the transmitter 102 may be a future state of the jitter buffer indicating a state that the jitter buffer is likely to have at some point in the future when data is to be transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108.

With reference to FIG. 8 there is now described another method of optimizing the relationship between the processing parameters used at the transmitter 102 and the state of the jitter buffer 114.

In step S802 processing parameters which would be beneficial for the transmitter 102 to use when processing data for transmission to the receiver 108 are determined. These processing parameters may be adjusted versions of the processing parameters which are determined based on the state of the jitter buffer 114 as described above. Alternatively, the processing parameters may be determined in step S802 without considering the state of the jitter buffer 114. As described above, the processing parameters may include one or more of the encoding bit rate, the FEC depth, a packetization delay and an interleaving delay.

In step S804 the processing parameters determined in step S802 are used to determine a state of the jitter buffer 114 which would be suited for receiving data which has been processed in accordance with the processing parameters determined in step S802. For example, if the encoding bit rate is increased then the available space in the jitter buffer 114 may need to be increased to accommodate the extra data that is to be transmitted due to the increase in the encoding bit rate. The jitter buffer size should be adapted in dependence on a change in the encoding bit rate of the data and in dependence on a bottleneck of the transmission path. If the available space in the jitter buffer is the bottleneck in the transmission path then the current size of the jitter buffer 114 should be reduced to allow more data to be received at the jitter buffer 114. Alternatively, if the communication channel is the bottleneck in the transmission path and the increase in bit rate results in an increase in propagation delay then the jitter buffer 114 has to make sure it has enough earlier data to ensure continuous playback while waiting for new data.

As another example, if the FEC depth that is used to generate FEC data units for data units of the data stream that is to be transmitted is increased then the delay of the jitter buffer 114 may need to be increased so that the FEC data units can be received at the jitter buffer 114 before they are needed in order to correct errors in the transmission of the data units. As another example, if one or both of the packetization delay and the interleaving delay is increased then the delay of the jitter buffer 114 may need to be increased correspondingly so that the data units are received at the jitter buffer 114 of the receiver 108 before they are required to be output from the jitter buffer 114. The jitter buffer state which is determined in step S804 is determined to optimize the operation of the jitter buffer 114 for receiving the data which is processed based on the processing parameters at the transmitter 102.

In step S806 an indication of the jitter buffer state determined in step S804 is transmitted from the transmitter 102 to the receiver 108. The jitter buffer state may be transmitted at the same time as the transmission of the data from the transmitter to the receiver 108 or the jitter buffer state may be transmitted before the transmission of the data from the transmitter to the receiver 108. The transmission of the indication of the jitter buffer state will require the transmission of a small number of bits from the transmitter 102 to the receiver 108, which may be transmitted in a separate data packet or be piggybacked to an existing data packet from the transmitter 102 to the receiver 108.

In step S808 the state of the jitter buffer 114 at the receiver 108 is adjusted based on the indication of the jitter buffer state which has been received from the transmitter 102. In this way the jitter buffer 114 is placed in a state which is suited (i.e. optimized) for receiving the data which is transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108. Therefore when the data is processed at the transmitter 102 (in accordance with the processing parameters, as described above) and transmitted to the jitter buffer 114 of the receiver 108 then the jitter buffer 114 is in a state suited to receiving that data.

As described above, a FEC scheme may send information about a desired increase in FEC depth, a packetization scheme may send information about a desired increase in packetization delay, and an interleaving scheme may send information about a desired increase in separation of consecutive data units. In these cases, to facilitate higher robustness against packet loss, the jitter buffer 114 should increase its size (i.e. its delay). In general, the transmitter 102 may transmit information about a desired increase or decrease of the jitter buffer size (delay) to the receiver 108.

With reference to FIG. 9 there is now described another method of optimizing the relationship between the processing parameters used at the transmitter 102 and the state of the jitter buffer 114. In the method shown in FIG. 9 the processing parameters (used at the transmitter 102 to process the data for transmission to the receiver 108) and the state of the jitter buffer 114 of the receiver 108 are optimized jointly and adaptively. The parameters involved in the optimization (optimization measure) may include coding quality and bit rate, robustness against packet loss, and delay.

In step S902 the processing parameters used in the transmitter 102 to process data for transmission to the jitter buffer 114 of the receiver 108 are determined jointly with jitter buffer control information for controlling the state of the jitter buffer 114. The processing parameters and the jitter buffer control information are determined together such that they are suited (or “optimized”) with respect to each other. Therefore the data which is processed according to the processing parameters is processed in such a way that is optimized to be received by the jitter buffer 114 which is operating in the jitter buffer state indicated by the jitter buffer control information. The joint determination of step S902 is performed at the transmitter 102.

In step S904 the jitter buffer control information is transmitted from the transmitter 102 to the receiver 108. The jitter buffer control information may be transmitted at the same time as the transmission of the data from the transmitter to the receiver 108 or the jitter buffer control information may be transmitted before the transmission of the data from the transmitter to the receiver 108. The transmission of the jitter buffer control information will require the transmission of a small number of bits from the transmitter 102 to the receiver 108, which may be transmitted in a separate data packet or be piggybacked to an existing data packet from the transmitter 102 to the receiver 108.

In step S906 the jitter buffer control information is used at the receiver 108 to set the state of the jitter buffer 114. For example the size or delay of the jitter buffer 114 may be set in accordance with the jitter buffer control information which has been determined jointly with the processing parameters in step S902.

In step S908 the data is processed at the transmitter 102 using the processing parameters which were determined in step S902.

In step S910 the processed data is transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108. As described above, the jitter buffer 114 will be in a state which is suited for receiving the data which has been processed according to the processing parameters determined in step S902.

In the method described above in relation to FIG. 9 the joint determination of the processing parameters and the jitter buffer control information is performed at the transmitter 102 and then the jitter buffer control information is transmitted from the transmitter 102 to the receiver 108 such that the state of the jitter buffer 114 can be set accordingly. However, in alternative embodiments the joint determination of the processing parameters and the jitter buffer control information is performed at the receiver 108 and then an indication of the jitter buffer state and/or an indication of the determined processing parameters are transmitted from the receiver 108 to the transmitter 102 so that the transmitter 102 can control the processing parameters accordingly.

In other embodiments, the joint determination of the processing parameters and the jitter buffer control information is performed at a control node (other than the transmitter 102 and the receiver 108) and the jitter buffer control information is transmitted from the control node to the receiver 108 so that the state of the jitter buffer 114 can be set accordingly and an indication of the determined processing parameters can be transmitted from the control node to the transmitter 102 so that the transmitter 102 can use the determined processing parameters to process the data for transmission to the receiver 108.

It may be advantageous to jointly determine the processing parameters and the state of the jitter buffer 114 such that the data processing at the transmitter 102 and the state of the jitter buffer 114 at the receiver 108 can be optimized with respect to each other.

One way of improving the operation of the communication system is for the transmitter 102 to send control information to the receiver 108 wherein the receiver 108 controls the state of the jitter buffer 114 based on the control information. This allows the transmitter 102 to determine the processing parameters with which it processes the data for transmission to the receiver 108, for example to improve the quality of the processed data. The state of the jitter buffer 114 is then determined based on the processing parameters. The state of the jitter buffer may be determined at the transmitter 102 and then the control information sent to the receiver 108 comprises an indication of the determined state of the jitter buffer 114. Alternatively, the control information that is transmitted from the transmitter 102 to the receiver 108 may include an indication of the processing parameter(s) used at the transmitter 102 to process the data of the real-time communication event for transmission to the receiver 108. In that case the receiver 108 determines the state of the jitter buffer 114 based on the indication of the processing parameters received from the transmitter 102.

FIG. 10 is a flow chart for a process of transmitting data of a real-time communication event from the transmitter 102 to the receiver 108 in accordance with one or more embodiments. In step S1002 the processing parameters used in the transmitter 102 to process data for transmission to the jitter buffer 114 of the receiver 108 are determined. The processing parameters may be determined in such a way to improve the quality of the processed data.

In step S1004 control information is transmitted from the transmitter 102 to the receiver 108. As described above the control information may comprise an indication of a state of the jitter buffer 114 and/or an indication of the processing parameters determined in step S1002. The control information may be transmitted at the same time as the transmission of the data from the transmitter 102 to the receiver 108 or the control information may be transmitted before the transmission of the data from the transmitter 102 to the receiver 108. The transmission of the control information will require the transmission of a small number of bits from the transmitter 102 to the receiver 108, which may be transmitted in a separate data packet or be piggybacked to an existing data packet from the transmitter 102 to the receiver 108.

In step S1006 the control information is used at the receiver 108 to set the state of the jitter buffer 114. For example the size or delay of the jitter buffer 114 may be set in accordance with the control information.

In step S1008 the data of the real-time communication event is processed at the transmitter 102 using the processing parameters which were determined in step S1002.

In step S1010 the processed data is transmitted from the transmitter 102 to the jitter buffer 114 of the receiver 108. As described above, the jitter buffer 114 will be in a state which is suited for receiving the data which has been processed according to the processing parameters determined in step S1002.

For example, the transmitter 102 may decide the best values of the processing parameters based solely on performance of a corresponding processing module (e.g. a combination of transmitter and receiver parts of the processing module), rather than jointly optimizing the processing parameters with the state of the jitter buffer 114. For example, when determining processing parameters for a FEC scheme at the transmitter 102, the FEC encoder at the transmitter 102 might decide to increase the FEC depth to improve the ability of the data stream to recover from packet losses during transmission. The FEC decoder at the receiver 108 will correspondingly increase its delay. If the delay of the jitter buffer 114 is lower than that corresponding to the new FEC depth then there may be a problem in the playout of the data at the receiver 108. In prior art systems, the new delay at FEC decoder will be seen by jitter buffer as increased delay/jitter. The jitter buffer would then adapt its delay accordingly, but this adaptation might happen too late or too quickly, and the quality of the signal played out at the receiver 108 may consequently suffer. However, in contrast, according to the methods described above, the FEC encoder at the transmitter 102 notifies the jitter buffer 114 in advance of the change in FEC depth, then the jitter buffer 114 has time to prepare for the change in FEC delay. In this case, the jitter buffer 114 will prepare for the increase in delay and will play its content slower while waiting for further data packets to arrive. This will improve the quality of the signal played out at the receiver 108.

The method steps described above (and in particular the method steps shown in FIGS. 2, 8, 9 and 10) shown may be implemented in hardware or software at the transmitter 102 and the receiver 108. For example, where the method steps are performed in software they may be implemented by executing instructions from a computer program product on processing means of the transmitter 102 and the receiver 108. The computer program product may be embodied on a non-transient computer-readable medium and configured for execution on the processors of the transmitter 102 or the receiver 108.

In some embodiments the step of controlling the processing parameter(s) thereby controls at least one quality parameter of the transmitted data within a constraint that the transmitted data is recoverable from the jitter buffer at the receiver in accordance with said state of the jitter buffer indicated by the jitter buffer state information. The at least one quality parameter of the transmitted data may comprise at least one of: (i) a coding quality, (ii) a bit rate, and (iii) a robustness against packet loss.

In some embodiments, the method further comprises: determining an adjusted version of the at least one processing parameter; determining an adjusted state of the jitter buffer which is suited to receiving data which has been processed in accordance with the adjusted version of the at least one processing parameter; and transmitting, from the transmitter to the receiver, additional jitter buffer state information indicative of the adjusted state of the jitter buffer, wherein the data is processed for transmission from the transmitter to the jitter buffer in accordance with the adjusted version of the at least one processing parameter. In these embodiments, the additional jitter buffer state information allows the state of the jitter buffer to be controlled in accordance with the processing parameter(s) used at the transmitter. In this way the jitter buffer state can be controlled to suit the processing parameter(s) which are used at the transmitter to process the data for transmission to the jitter buffer in the real-time communication event. Furthermore, the step of determining an adjusted version of the at least one processing parameter may comprise determining that a benefit would result from processing the data for transmission from the transmitter to the jitter buffer in accordance with the adjusted version of the at least one processing parameter. The benefit may be, for example, a coding quality of the transmitted data, a bit rate of the transmitted data, a robustness of the transmitted data against packet loss, or a reduced playback delay at the receiver.

In some embodiments, the step of processing data for transmission from the transmitter to the jitter buffer comprises encoding the data, and the at least one processing parameter comprises an encoding bit rate with which the data is encoded. The method may further comprise determining the size of the jitter buffer or the available space in the jitter buffer from the jitter buffer state information, wherein the encoding bit rate is controlled based on the determined size of the jitter buffer or the determined available space in the jitter buffer. The method may further comprise determining whether the jitter buffer or a communication channel for the real-time communication event is a bottleneck in the transmission path of the transmitted data from the transmitter to the receiver, wherein the encoding bit rate may be controlled based on the determination of whether the jitter buffer or the communication channel is a bottleneck in the transmission path of the transmitted data.

In some embodiments, the processed data comprises a stream of data packets and the step of processing data for transmission from the transmitter to the jitter buffer comprises generating correction data units relating to at least one of the data packets, and the at least one processing parameter comprises a correction depth which sets the maximum allowable displacement in the stream of data packets between the oldest and the newest of the data packets that are allowed to be related to one of the correction data units. The method may further comprise determining the delay of the jitter buffer from the jitter buffer state information, wherein the correction depth is controlled to thereby control a delay caused by recovering the transmitted data packets at the receiver using the correction data units in dependence upon the determined delay of the jitter buffer. For example, the delay caused by recovering the transmitted data packets at the receiver using the correction data units may correspond to the determined delay of the jitter buffer. In one example, the correction data units are Forward Error Correction data units and the correction depth is a Forward Error Correction depth.

In some embodiments, the data comprises a stream of data units, and the step of processing data for transmission from the transmitter to the jitter buffer comprises packetizing the data units into data packets for transmission, and the at least one processing parameter comprises a packetization delay which sets the maximum allowable delay of the data units resulting from the packetization of the data units into data packets. The method may further comprise determining the delay of the jitter buffer from the jitter buffer state information, wherein the packetization delay is controlled in dependence upon the determined delay of the jitter buffer. For example, the packetization delay may be controlled such that it corresponds to the determined delay of the jitter buffer.

In some embodiments in which the data comprises a stream of data units, the step of processing data for transmission from the transmitter to the jitter buffer may comprise interleaving at least some of the data units for transmission, and the at least one processing parameter may comprise an interleaving delay which sets the maximum allowable delay of the data units resulting from the interleaving of the data units. The method may further comprise determining the delay of the jitter buffer from the jitter buffer state information, wherein the interleaving delay is controlled in dependence upon the determined delay of the jitter buffer. For example, the interleaving delay may be controlled such that it corresponds to the determined delay of the jitter buffer.

The jitter buffer state may include at least one of: (i) the size of the jitter buffer, (ii) the delay of the jitter buffer, and (iii) the available space in the jitter buffer. The jitter buffer state may be either a current state of the jitter buffer or a future state of the jitter buffer.

The steps of receiving the jitter buffer state information and controlling the at least one processing parameter may be performed either continuously or periodically during the real-time communication event.

Features of the different embodiments described above may be combined in any suitable way as will be apparent to a person skilled in the art.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. 

The invention claimed is:
 1. A method of transmitting data of a real-time communication event from a transmitter to a jitter buffer of a receiver, the method comprising: receiving, at the transmitter from the receiver, jitter buffer state information indicating a state of the jitter buffer; controlling at least one processing parameter based on the received jitter buffer state information, said at least one processing parameter describing how data is to be processed for transmission from the transmitter to the jitter buffer in the real-time communication event; processing data for transmission from the transmitter to the jitter buffer in accordance with the determined at least one processing parameter, the processing data further comprising processing a stream of data packets by at least generating correction data units relating to at least one of the data packets, the at least one processing parameter comprising at least a correction depth which sets the maximum allowable displacement in the stream of data packets between the oldest and the newest of the data packets that are allowed to be related to one of the correction data units; and transmitting the processed data from the transmitter to the jitter buffer of the receiver in the real-time communication event.
 2. The method of claim 1 wherein said controlling at least one processing parameter thereby controls at least one quality parameter of the transmitted data within a constraint that the transmitted data is recoverable from the jitter buffer at the receiver in accordance with said state of the jitter buffer indicated by the jitter buffer state information.
 3. The method of claim 2 wherein said at least one quality parameter of the transmitted data comprises at least one of: (i) a coding quality, (ii) a bit rate, and (iii) a robustness against packet loss.
 4. The method of claim 1 wherein said processing data for transmission from the transmitter to the jitter buffer comprises encoding the data, and wherein the at least one processing parameter comprises an encoding bit rate with which the data is encoded.
 5. The method of claim 4 further comprising determining the size of the jitter buffer or the available space in the jitter buffer from the jitter buffer state information, wherein the encoding bit rate is controlled based on the determined size of the jitter buffer or the determined available space in the jitter buffer.
 6. The method of claim 4 further comprising determining whether the jitter buffer or a communication channel for the real-time communication event is a bottleneck in the transmission path of the transmitted data from the transmitter to the receiver, wherein the encoding bit rate is controlled based on said determination of whether the jitter buffer or the communication channel is a bottleneck in the transmission path of the transmitted data.
 7. The method of claim 1 further comprising determining the delay of the jitter buffer from the jitter buffer state information, wherein the correction depth is controlled to thereby control a delay caused by recovering the transmitted data packets at the receiver using the correction data units in dependence upon the determined delay of the jitter buffer.
 8. The method of claim 1 wherein the correction data units are Forward Error Correction data units and the correction depth is a Forward Error Correction depth.
 9. The method of claim 1 wherein said data further comprises a stream of data units, and wherein said processing data for transmission from the transmitter to the jitter buffer comprises packetizing the data units into data packets for transmission, and wherein the at least one processing parameter comprises a packetization delay which sets the maximum allowable delay of the data units resulting from the packetization of the data units into data packets.
 10. The method of claim 9 further comprising determining the delay of the jitter buffer from the jitter buffer state information, wherein the packetization delay is controlled in dependence upon the determined delay of the jitter buffer.
 11. The method of claim 1 wherein said data comprises a stream of data units, and wherein said processing data for transmission from the transmitter to the jitter buffer comprises interleaving at least some of the data units for transmission, and wherein the at least one processing parameter comprises an interleaving delay which sets the maximum allowable delay of the data units resulting from the interleaving of the data units.
 12. The method of claim 11 further comprising determining the delay of the jitter buffer from the jitter buffer state information, wherein the interleaving delay is controlled in dependence upon the determined delay of the jitter buffer.
 13. The method of claim 1 further comprising: determining an adjusted version of the at least one processing parameter; determining an adjusted state of the jitter buffer which is suited to receiving data which has been processed in accordance with the adjusted version of the at least one processing parameter; and transmitting, from the transmitter to the receiver, additional jitter buffer state information indicative of the adjusted state of the jitter buffer, wherein the data is processed for transmission from the transmitter to the jitter buffer in accordance with the adjusted version of the at least one processing parameter.
 14. The method of claim 13 wherein the determining an adjusted version of the at least one processing parameter comprises determining that a benefit would result from processing the data for transmission from the transmitter to the jitter buffer in accordance with the adjusted version of the at least one processing parameter.
 15. The method of claim 1 wherein the jitter buffer state includes at least one of: (i) the size of the jitter buffer, (ii) the delay of the jitter buffer, and (iii) the available space in the jitter buffer.
 16. The method of claim 1 wherein the jitter buffer state is either a current state of the jitter buffer or a future state of the jitter buffer.
 17. The method of claim 1 wherein said receiving the jitter buffer state information and controlling the at least one processing parameter are performed either continuously or periodically during the real-time communication event.
 18. A transmitter configured to transmit data of a real-time communication event to a jitter buffer of a receiver, the transmitter comprising a processor configured to: receive, from the receiver, jitter buffer state information indicating a state of the jitter buffer; control at least one processing parameter based on the received jitter buffer state information, said at least one processing parameter describing how data is to be processed for transmission from the transmitter to the jitter buffer in the real-time communication event; process data for transmission from the transmitter to the jitter buffer in accordance with the determined at least one processing parameter, the processor further configured to process data comprising a stream of data packets by at least generating correction data units relating to at least one of the data packets, the at least one processing parameter comprising at least a correction depth which sets the maximum allowable displacement in the stream of data packets between the oldest and the newest of the data packets that are allowed to be related to one of the correction data units; and transmit the processed data from the transmitter to the jitter buffer of the receiver in the real-time communication event.
 19. A computer program product for transmitting data of a real-time communication event from a transmitter to a jitter buffer of a receiver, the computer program product being embodied on one or more computer-readable storage memory devices and configured so as when executed on a processor of the transmitter to perform the operations comprising: receiving, at the transmitter from the receiver, jitter buffer state information indicating a state of the jitter buffer; controlling at least one processing parameter based on the received jitter buffer state information, said at least one processing parameter describing how data is to be processed for transmission from the transmitter to the jitter buffer in the real-time communication event; processing data for transmission from the transmitter to the jitter buffer in accordance with the determined at least one processing parameter, the processing data further comprising processing a stream of data packets by at least generating correction data units relating to at least one of the data packets, the at least one processing parameter comprising at least a correction depth which sets the maximum allowable displacement in the stream of data packets between the oldest and the newest of the data packets that are allowed to be related to one of the correction data units; and transmitting the processed data from the transmitter to the jitter buffer of the receiver in the real-time communication event.
 20. The computer program product of claim 19, the operations further comprising: determining an adjusted version of the at least one processing parameter; determining an adjusted state of the jitter buffer which is suited to receiving data which has been processed in accordance with the adjusted version of the at least one processing parameter; and transmitting, from the transmitter to the receiver, additional jitter buffer state information indicative of the adjusted state of the jitter buffer, wherein the data is processed for transmission from the transmitter to the jitter buffer in accordance with the adjusted version of the at least one processing parameter. 